import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;

public class AsposeWords_20_12 {
    public static void main(String[] args) throws Exception {
        String fullPath = "/Users/liuzy/Downloads/aspose-words-20.12-jdk17.jar";
        ClassPool.getDefault().insertClassPath(fullPath);
        CtClass clazz = ClassPool.getDefault().getCtClass("com.aspose.words.zzZDZ");
        clazz.getDeclaredMethod("zzZ4n").setBody("{return 1;}");
        clazz.getDeclaredMethod("zzZ4m").setBody("{return 1;}");
        clazz.writeFile();
    }
}
